<?php
class Socialprofiles_Data_Getsocialprofilesdata implements Socialprofiles_Data_Mainable{
    
    private $core_controller_selectdata;
    
    public function __construct() {
        $this->core_controller_selectdata = new Core_Controller_Selectdata;
    }
    
    public function main(array $variables = null) {
        $variables['query'] = "SELECT skype_login, facebook_profile, google_plus_profile, twitter_profile FROM social_data WHERE username='".$_SESSION['username']."';";
        return $this->core_controller_selectdata->main($variables);
    }
}
